package My;

public class Test {
    public static void main(String[] args) {
        cyclyQueue cyclyQueue=new cyclyQueue(3);
        cyclyQueue.offer(1);
        cyclyQueue.offer(2);
        cyclyQueue.offer(3);
        System.out.println(cyclyQueue.peek());
        cyclyQueue.poll();
        System.out.println(cyclyQueue.peek());

    }
}
